﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Abp.Domain.Entities.Auditing;

namespace FwProject.ShoppingMall.Commodity
{
    /// <summary>
    /// 商品评论表
    /// </summary>
    [Table("CommodityReviewsImage")]
    public class CommodityReviewsImage : FullAuditedEntity<Guid>
    {
        /// <summary>
        /// 商品编号
        /// </summary>
        [Required]
        public Guid Productid { get; set; }

        [Required]
        public string ImagePath { get; set; }

        public Guid CommodityReviewsId { get; set; }

        [ForeignKey("CommodityReviewsId")]
        public virtual CommodityReviews CommodityReviews { get; set; }


    }
}
